<!DOCTYPE html>
<html>
<head>
 <link rel="stylesheet" href="/css/style.css?v=2"> 
<script type="text/javascript" src="../Scripts/jquery-1.4.4.js"> </script>
<?php
?>
    <meta charset="utf-8">
    <title>HTML5</title>
	<style>
	body {
		font-family: Verdana;
	}
	#box {
		background-color: #f60;
		width: 90%;
		border: 1px solid #f60;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
		padding-bottom: 10px;
		float: left;
	}
	#box p {
		font-size: 20px;
		padding: 5px;
		margin: 0px;
	}

	


	#list1 {
		font-size: 20px;
		float: left;
		margin-left: 10px;
	}
	.addedIMG {
		width: 100px;
		height: 100px;
	}
	#category_tree{
		float:right;
	}
	</style>
	<script src="html5uploader.js"></script>
</head>

<body onload="new uploader('upload_box','status', 'uploader.php', null);">
<div id="container">
    <header> 
                <?php
              
				    $option['class'] = "status";
					$option['id'] = "account";
          
          require_once '../phpExcelReader/Bank/buxfer.php';
          session_start();
          $o_buxfer = new buxfer($_SESSION['username'],$_SESSION['password']);
          $accounts = $o_buxfer->get_accounts();  ?>
          <select name="account" id="account" class="account">
          <option value="" data-skip="1">SELECT ACCOUNT DESTINATION</option>
          <?php
          
          foreach($accounts as $account) {
              ?>
          <option value="<?php echo $account['name'] ?> "><?php echo $account['name']; ?></option>
          <?php }  ?>
          </select>
          
          <select name="importClass" id="importClass" class="importClass">
            <option value="" data-skip="1">SELECT TEMPLATE</option>
            <option value="parse_bank_statement_intesa_sanpaolo">Carta di credito Mastercard Blu BCS</option>
            <option value="parse_bank_statement_BCS">Carta di debito BCS</option>        
          </select>
    
    </header> 
<div id="main" role="main">
            	
          
    <fieldset>       
		<label id="status"><span>Drag the file to the area</span></label>
		<div id="upload_box"></div>
		<label>Files are not stored on the server.</label>
    </fieldset>
	</div>
  <div id="list1">
  </div> 
      </div> 
</body>
</html>